package com.example.webdemo.service;

import com.example.webdemo.model.PhoneCode;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

/**
 * @description:  PhoneCodeService
 * @author zp
 * @date: 2023/7/31 19:09
 */
public interface PhoneCodeService {
    int deleteByPrimaryKey(Integer id);

    int insert(PhoneCode record);

    int insertSelective(PhoneCode record);

    PhoneCode selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PhoneCode record);

    int updateByPrimaryKey(PhoneCode record);

    PhoneCode selectByPhone(String phone);

    int deleteByPhone(@Param("phone") String phone);
}
